package com.ldn.server.mqtt;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * Mqtt服务端启动类
 *
 * @author 李大牛家的牛 (scafel@163.com)
 * @product serverless
 * @className MqttServiceApplication
 * @createDate 2025/2/8 - 15:55
 * @description MqttServiceApplication Mqtt服务端启动类
 **/
@SpringBootApplication(scanBasePackages = {"com.ldn.server.mqtt", "com.ldn.server.boot3.starter", "com.ldn.database.dao"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.ldn.server.boot3.starter.feign"})
@MapperScan("com.ldn.database.dao.mapper")
@EnableAsync
public class MqttServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(MqttServiceApplication.class, args);
    }

}
